"""
@Time ： 2022/10/17 10:59
@Auth ： 陈杰 200320501042
@E-mail : 1612845322@qq.com
"""


class Book:
    def __init__(self, No, isbn, name, author, price):
        self.编号 = No
        self.书号 = isbn
        self.书名 = name
        self.作者 = author
        self.价格 = price

    def output(self):
        for attr in self.__dict__.items():
            print("{0}:{1}".format(attr[0], attr[1]))


if __name__ == '__main__':
    student1 = Book("01", "123-456-789", "鬼吹灯", "逍遥子", 20.5)
    student1.output()
